<!DOCTYPE html>
<html lang="zh">
<head>
    <title>{$title|default='^v^'}</title>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit">
    <meta name="format-detection" content="telephone=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=0.4">
    <link rel="stylesheet" href="__STATIC__/layui/css/layui.css">
    <link rel="stylesheet" href="__STATIC__/my-style.css">
    <script src="__STATIC__/jquery-v3.6.0.min.js"></script>
    <script src="__STATIC__/layui/layui.js"></script>
    <script src="__STATIC__//my_cookie.js"></script>
    {block name="css"}{/block}
</head>
<body>
<!-- 顶部菜单 -->
{include file='nav'}
<!--body 部分-->
{block name='body'}{/block}
</body>
<!-- 导航 js -->
<script>
    // layui 小火箭
    layui.util.fixbar({
        bgcolor:"#ccc",
        css:{right: 10, bottom: 100},
        click: function(type){}
    });

    //注意：导航 依赖 element 模块，否则无法进行功能性操作
    layui.use('element', function(){
        var element = layui.element;
        element.render('nav');
    });
</script>
<!-- script 脚本 -->
{block name='script'}{/block}
{if session('config.watermark_switch') == '1'}
<script src="__STATIC__/watermark.js"></script>
<script>
    // 删除水印
    $(".mask_div").remove();
    watermark({"watermark_txt":"{:session('config.copyright')} " + getNow()});
</script>
{/if}
</html>